package com.hntest.service.impl;

import com.hntest.dao.UserBankInfoDao;
import com.hntest.entity.UserBankInfo;
import com.hntest.service.UserBankInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userBankInfoService")
public class UserBankInfoServiceImpl implements UserBankInfoService {

    @Autowired
    private UserBankInfoDao userBankInfoDao;
    @Override
    public int insertUserBankInfo(UserBankInfo userBankInfo) {
        return userBankInfoDao.insertUserBankInfo(userBankInfo);
    }

    @Override
    public UserBankInfo selectUserBankInfoByLoginId(int lid) {
        return userBankInfoDao.selectUserBankInfoByLoginId(lid);
    }


}
